﻿

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using KDS.Mes.Mes.TestPower2s.Dtos;
using KDS.Mes.Dto;

namespace KDS.Mes.Mes.TestPower2s
{
    /// <summary>
    /// 2线电检数据表服务接口
    /// </summary>
    public interface ITestPower2AppService : IApplicationService
    {
        #region 2线电检数据表管理
        PagedResultDto<TestPower2ListDto> GetPagedTestPower2s(GetTestPower2Input input);
        /// <summary>
        /// 根据查询条件获取2线电检数据表分页列表
        /// </summary>
        Task<PagedResultDto<TestPower2ListDto>> GetPagedTestPower2sAsync(GetTestPower2Input input);

        /// <summary>
        /// 通过Id获取2线电检数据表信息进行编辑或修改 
        /// </summary>
        Task<GetTestPower2ForEditOutput> GetTestPower2ForEditAsync(NullableIdDto<int> input);

        /// <summary>
        /// 通过指定id获取2线电检数据表ListDto信息
        /// </summary>
        Task<TestPower2ListDto> GetTestPower2ByIdAsync(EntityDto<int> input);



        /// <summary>
        /// 新增或更改2线电检数据表
        /// </summary>
        Task CreateOrUpdateTestPower2Async(CreateOrUpdateTestPower2Input input);





        /// <summary>
        /// 新增2线电检数据表
        /// </summary>
        Task<TestPower2EditDto> CreateTestPower2Async(TestPower2EditDto input);

        /// <summary>
        /// 更新2线电检数据表
        /// </summary>
        Task UpdateTestPower2Async(TestPower2EditDto input);

        /// <summary>
        /// 删除2线电检数据表
        /// </summary>
        Task DeleteTestPower2Async(EntityDto<int> input);

        #endregion

        #region Excel导出功能



        /// <summary>
        /// 获取2线电检数据表信息转换为Excel
        /// </summary>
        /// <returns></returns>
        Task<FileDto> GetTestPower2ToExcel(GetTestPower2Input input);

        #endregion





    }
}
